package com.example.sources.jdbc.proxy;


import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;

/**
 * Created by Administrator on 2016/9/18.
 */
public class DynamicProxy<T> {
    public static <T> T newProxyInstance(ClassLoader classLoader,Class<?>[] interfaces,InvocationHandler invocationHandler){
        if (true){
//            new BeforeAdvice().excute();
        }
        return (T) Proxy.newProxyInstance(classLoader,interfaces,invocationHandler);
    }
}
